﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Cricket.master" AutoEventWireup="true"
    CodeFile="Home.aspx.cs" Inherits="Home" %>
<%@ Register Src="~/Controls/OnGoingSeries.ascx" TagName="OnGoingSeries" TagPrefix="ClickCricket" %>
<%@ Register Src="~/Controls/UpComingSeries.ascx" TagName="UpComingSeries" TagPrefix="ClickCricket" %>

<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <table style="width: 100%" bgcolor="White" border="2">
        <tr>
            <td valign="top">
                <br />
                <asp:LinkButton ID="lnkCntList" Text="Country List" runat="server" PostBackUrl="~/CountryList.aspx"
                     ToolTip="List of Countries"></asp:LinkButton>
                <br />
                <br />
                <asp:LinkButton ID="lnkPlList" Text="Players List" runat="server" PostBackUrl="~/PlayerList.aspx"
                 ToolTip="List of Players"></asp:LinkButton>
                <br />
                <br />
                On Going Series:
                <br />
                <ClickCricket:OnGoingSeries ID="OnSeries" runat="server" />
                <br />
                <br />
                Up Coming Series:
                <br />
                <ClickCricket:UpComingSeries ID="UpComing" runat="server" />
            </td>
            <td valign="top">
                <u>Cricket News: </u>
                <div>
                    <asp:XmlDataSource ID="XmlDataSource1" runat="server" DataFile="http://content.cricinfo.com/rss/content/feeds/news/0.xml"
                        XPath="rss/channel/item"></asp:XmlDataSource>
                    &nbsp;</div>
                <asp:DataList ID="DataList1" runat="server" BackColor="White" BorderColor="#DEDFDE"
                    BorderStyle="None" BorderWidth="1px" CellPadding="4" DataSourceID="XmlDataSource1"
                    ForeColor="Black" GridLines="Vertical" Width="800px">
                    <FooterStyle BackColor="#CCCC99" />
                    <SelectedItemStyle BackColor="#CE5D5A" Font-Bold="True" ForeColor="White" />
                    <AlternatingItemStyle BackColor="White" />
                    <ItemStyle BackColor="#F7F7DE" />
                    <HeaderStyle BackColor="#6B696B" Font-Bold="True" ForeColor="White" />
                    <ItemTemplate>
                        <a href="<%#XPath("link")%>">
                            <%#XPath("title")%></a>
                        <hr color="#0099ff" />
                        &nbsp;
                        <%#XPath("description")%><br />
                    </ItemTemplate>
                </asp:DataList>
            </td>
        </tr>
    </table>
</asp:Content>
